<extend file='resource/view/admin'/>
<block name="content">
    <ol class="breadcrumb" style="background-color: #f9f9f9;padding:8px 0;margin-bottom:10px;">
                <li>
                    <a href=""><i class="fa fa-cogs"></i>
                        文章管理</a>
                </li>
                <li class="active">
                    <a href="">文章添加</a>
                </li>
            </ol>
            <ul class="nav nav-tabs" role="tablist">
                <li><a href="{{U('index')}}">文章管理</a></li>
                <li class="active"><a href="">文章添加</a></li>
            </ul>
            <form class="form-horizontal" id="form" onsubmit="return add()" action="" method="post">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">标签管理</h3>
                    </div>
                    <div class="panel-body">

                        <div class="form-group">
                            <label for="" class="col-sm-2 control-label">标签</label>
                            <div class="col-sm-9">
                                <textarea type="text" name="tname"  class="form-control" placeholder="请输入标签按照|分开">{{$oldData['tname']}}</textarea>
                            </div>
                        </div>
                    </div>
                </div>
                <input type="hidden" name="tid" id="tid" value="{{$oldData['tid']}}" >
                <button class="btn btn-primary" type="submit">确定</button>
            </form>
</block>
